QT += quick widgets testlib

SOURCES += \
        CImageAlgorithm.cpp \
        CLongScreenShotInApp.cpp \
        CLongScreenShot.cpp \
        CUtil.cpp \
        main.cpp

resources.files = main.qml 
resources.files += AppPage.qml
resources.files += DebugWindow.qml
resources.prefix = /$${TARGET}
RESOURCES += resources \
    image.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    CImageAlgorithm.h \
    CLongScreenShotInApp.h \
    CLongScreenShot.h \
    CUtil.h

INCLUDEPATH += $$PWD/libopencv/include
LIBS += -L $$PWD/libopencv/lib/libopencv_*.a

DISTFILES += \
    DebugWindow.qml
